package com.qianli.cashmama.trade.integration.pay;

import com.qianli.cashmama.pay.client.domain.query.response.FundAccountInfoResponse;
import com.qianli.cashmama.trade.entity.TTradeOpenOrderEntity;
import com.qianli.cashmama.trade.integration.pay.dto.TradePayDto;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/24
 * Time: 上午9:16
 */
public interface PayIntegrationService {


    boolean pushTradeToPay(TradePayDto tradePayDto,String productCategory);


    boolean pushTradeToPay(TTradeOpenOrderEntity entity, String productCategory);

    /**
     * 根据资金账号查询NBFC信息
     */
    FundAccountInfoResponse getNbfcByFundCode(Integer fundCode);





}
